package com.b2c.member;

import com.b2c.membrer.MembersEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-10-11 05:33:23
 */
@Mapper
public interface MembersDao  {
    MembersEntity queryObject(Integer id);

    List<MembersEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(MembersEntity members);

    void update(MembersEntity members);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
